package top.kaoshanji.p2ch10a.model;

import java.io.Serializable;

/**
 * 代码清单-p2ch10a-173页a：Product实例是一个封装产品信息的JavaBean
 * @author kaoshanji
 * ^_^
 * create time 2025/4/8 17:19
 */
public class Product implements Serializable {

    private static final long serialVersionUID = 748392348L;

    private String name;
    private String description;
    private float price;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }
}
